package annotation.myannotation;



public class Main {


    public static void main(String[] args) {

        IOC ioc = new IOC();
        Person user = (Person) ioc.getBean("annotation.myannotation.Person");
        System.out.println("IOC创建对象如下");
        System.out.println(user.toString());
    }
}
